﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MYSMRM.Dao.Base;
using MYSMRM.Model;

namespace MYSMRM.Dao.Interface
{

    public interface IQSOptionDao : IDao<QSOption>
    {
        IQueryable<QSOption> LoadAllByPage(out long total, int ID, int page, int rows, string order, string sort);

        IQueryable<QSOption> LoadAllEnable(int ID);

        void DeleteOptionsByTopicID(int ID);
        void DeleteOptionsByQuestionID(int ID);
    }
}
